﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using ProjectWizardManagement.Entity.Model;

namespace ProjectWizardManagement.Entity.Repository.Concrete
{
    public class EFDbContext : DbContext
    {
        public const string ConnectionString =
            "Server=.\\SQLEXPRESS;Database=ProjectWizard;Integrated Security=true;MultipleActiveResultSets=true;";

        public EFDbContext() : base(ConnectionString)
        {
        }

        public DbSet<RepositoryProject> RepositoryProjects { get; set; }
        public DbSet<User> Users { get; set; }
        public DbSet<AssociatedProject> AssociatedProjects { get; set; }
    }
}
